;
; Windows CE ActiveSync-over-USB installation script for Leica RX1250 devices
;
; Copyright (c) 2009      Leica Geosystems
;
[Version]
LayoutFile	    = layout.inf
Signature           = "$Chicago$"
Class               = WCEUSBS
ClassGuid           = {25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}
Provider            = %LEICA%
DriverVer           = 12/08/2009,2.0.0.1


[ControlFlags]
ExcludeFromSelect = *

; Manufacturer Section
; ----------------------

[Manufacturer]
%LEICA% = LEICA,NTx86.5,NTx86.6,NTia64.5,NTia64.6,NTamd64.5,NTamd64.6


; Models Section
; ----------------------
; Host_Inst decorates the install section for Windows XP + 2000
; WINMOBIL decorates the install section for Windows Vista and later

[LEICA.NTx86.5]
%USB\Vid_16bd&Pid_0012.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0012
%USB\Vid_16bd&Pid_0014.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0014
%USB\Vid_16bd&Pid_0023.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0023

[LEICA.NTia64.5]
%USB\Vid_16bd&Pid_0012.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0012
%USB\Vid_16bd&Pid_0014.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0014
%USB\Vid_16bd&Pid_0023.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0023

[LEICA.NTamd64.5]
%USB\Vid_16bd&Pid_0012.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0012
%USB\Vid_16bd&Pid_0014.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0014
%USB\Vid_16bd&Pid_0023.DeviceDesc% = Host_inst, USB\Vid_16bd&Pid_0023

[LEICA.NTx86.6]
%USB\Vid_16bd&Pid_0012.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0012
%USB\Vid_16bd&Pid_0014.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0014
%USB\Vid_16bd&Pid_0023.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0023

[LEICA.NTia64.6]
%USB\Vid_16bd&Pid_0012.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0012
%USB\Vid_16bd&Pid_0014.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0014
%USB\Vid_16bd&Pid_0023.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0023

[LEICA.NTamd64.6]
%USB\Vid_16bd&Pid_0012.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0012
%USB\Vid_16bd&Pid_0014.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0014
%USB\Vid_16bd&Pid_0023.DeviceDesc% = WINMOBIL, USB\Vid_16bd&Pid_0023

;
; Windows XP + 2000 part
;

[Host_Inst.NT]
include     = wceusbsh.inf
needs       = Host_Inst.NT.Services

;
; Vista + Windows 7 part
;

[WINMOBIL.NT]
Include     = winusb.inf
Needs       = WINUSB.NT
AddProperty = Host_Inst_AddProp

[WINMOBIL.NT.HW]
AddReg      = WINMOBIL.HW.AddReg

[WINMOBIL.HW.AddReg]
HKR,,DeviceInterfaceGUID,,"{25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}"
HKR,,"Icons",0x00010000,"%%SystemRoot%%\system32\shell32.dll,-314"

[WINMOBIL.NT.Services]
Include     = winusb.inf
Needs       = WINUSB.NT.Services

[WINMOBIL.NT.UMDFServices]
Include     = winusb.inf
Needs       = WINUSB.NT.UMDFServices

;
; Install co-installer
;

[WINMOBIL.NT.CoInstallers]
CopyFiles = WINMOBIL.CopyFiles.CoInst
AddReg    = WINMOBIL.CoInstaller_AddReg

[WINMOBIL.CoInstaller_AddReg]
HKR, , CoInstallers32, 0x10000, "wmcoinst-%BuildDate%.dll, WmcoinstEntryPoint"

;
; Class Install section
;
[ClassInstall]
Addreg = Interface_ClassReg

[ClassInstall32]
Addreg = Interface_ClassReg32

[Interface_ClassReg]
HKR,,,,%Interface.ClassName%
;HKR,,NoInstallClass,,1
HKR,,SilentInstall,,1
HKR,,Icon,,-20

[Interface_ClassReg32]
HKR,,,,%Interface.ClassName%
;HKR,,NoInstallClass,,1
HKR,,SilentInstall,,1
HKR,,Icon,,-20



[Strings]
;---- non-localizable ------------------
REG_DWORD = 0x00010001
BuildDate = "070531-0845"

;---- localizable ------------------
Interface.ClassName                    = "Windows CE USB Devices"
LEICA                                  = "Leica Geosystems"
USB\Vid_16bd&Pid_0012.DeviceDesc       = "Rx Controller"
USB\Vid_16bd&Pid_0014.DeviceDesc       = "Leica TS02/TS06/TS09"
USB\Vid_16bd&Pid_0023.DeviceDesc       = "Zoom80 Controller"